package com.osdp.uc.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.osdp.uc.entity.UcUserPosition;

import java.util.List;

public interface IUcUserPositionService extends IService<UcUserPosition> {


    /**
     * 根据用户ID，部门ID 删除记录
     * @param userId
     * @param orgId
     * @return
     */
    boolean deleteUserPosition(String userId, String orgId);

    /**
     * 根据用户ID和部门ID查询与用户的关联数据，包括部门、岗位、职称等
     * @param userId
     * @param orgId
     * @return
     */
    List<UcUserPosition> querUserPositionByUserOrgId(String userId, String orgId);
}
